package com.ylr.blog.framework.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-25 23:11:49
 * className: HotBlogEntity
 * version: 1.0
 * description:
 * 	热门博客表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yb_hot_blog")
public class HotBlogEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 博客主键
	 */
	@TableId
	private Long blogId;

	/**
	 * 博客编号
	 */
	private String blogCode;

	/**
	 * 排序等级（浏览量）
	 */
	private Integer sort;

	/**
	 * 下一次计算排序等级时，需要剪掉的数值
	 */
	private Integer nextSubNum;

	/**
	 * 创建时间
	 */
	private Date createTime;

}
